const path = require('path');
const Koa = require('koa')
const KoaStatic = require('koa-static')

const app = new Koa()

//参数为静态资源的路径
app.use(KoaStatic(path.join(__dirname,'./static')))
app.listen(9005)